home *** CD-ROM | disk | FTP | other *** search
/ GameSpot.it / GameSpot Italia (2001).bin / demo / severancedemo / data1.cab / Program_Files / Maps / Casa / sirena.py < prev    next >
Text File  |  2000-10-13  |  13KB  |  313 lines

  1. ##                                                                     ##
  2.  ###                   SONIDOS PARA LOS PERSONAJES                   ###
  3.   ####                                                             ####
  4.    ###################################################################
  5.  
  6.  
  7. #####################################
  8. #               __                  #
  9. #  | | |\  | | |    | |  _|_  | O   #
  10. #  |/  |  \| | | _  +-+   |   +/|\) #
  11. #  |\  |   | | |__| | |   |    / \  #
  12. #                                   #
  13. #####################################
  14.  
  15. _Pasito=Bladex.CreateSound("..\\..\\Sounds\\Paso-Podrido.wav","Pasito")
  16. _Pasito.MinDistance =   1000
  17. _Pasito.MaxDistance =  10000
  18. _Pasito.Volume      =  1.0
  19.  
  20.  
  21. _Pasito1=Bladex.CreateSound("..\\..\\Sounds\\Paso-Podrido-1.wav","Pasito1")
  22. _Pasito1.MinDistance =   1000
  23. _Pasito1.MaxDistance =  10000
  24. _Pasito1.Volume      =  1.0
  25.  
  26. _Espadacab=Bladex.CreateSound("..\\..\\Sounds\\espada-caballero.wav","Espadacab")
  27. _Espadacab.MinDistance =   1000
  28. _Espadacab.MaxDistance =  10000
  29. _Espadacab.Volume      =  1.0
  30.  
  31.  
  32. _RozeCab=Bladex.CreateSound("..\\..\\Sounds\\correajes-88.wav","RozeCab")
  33. _RozeCab.MinDistance =   1000
  34. _RozeCab.MaxDistance =  10000
  35. _RozeCab.Volume      =  1.0
  36.  
  37. _RozeCab1=Bladex.CreateSound("..\\..\\Sounds\\correajes-88b.wav","RozeCab1")
  38. _RozeCab1.MinDistance =   1000
  39. _RozeCab1.MaxDistance =  10000
  40. _RozeCab1.Volume      =  1.0
  41.  
  42.  
  43. _XclamaCab1=Bladex.CreateSound("..\\..\\Sounds\\esfuerzo-traidor-corto.wav","XclamaCab1")
  44. _XclamaCab1.MinDistance =   1000
  45. _XclamaCab1.MaxDistance =  10000
  46. _XclamaCab1.Volume      =  1.0
  47.  
  48.  
  49. LOOP_KNIGHT = (692.0/20.0)
  50.  
  51. def SonidosDelKavayero():
  52.     Bladex.AddScheduledFunc(Bladex.GetTime()+LOOP_KNIGHT, SonidosDelKavayero,())
  53.  
  54.     Bladex.AddScheduledFunc(Bladex.GetTime()+163.0/20, _Pasito.Play,(16039, -8388,-11988, 0))
  55.     Bladex.AddScheduledFunc(Bladex.GetTime()+410.0/20, _Pasito1.Play,(16039, -8388,-11988, 0))    
  56.  
  57.     Bladex.AddScheduledFunc(Bladex.GetTime()+420.0/20, _Espadacab.Play,(16039, -8388,-11988, 0))    
  58.  
  59.     Bladex.AddScheduledFunc(Bladex.GetTime()+ 75.0/20.0, _RozeCab.Play,(16039, -8388,-11988, 0))    
  60.     Bladex.AddScheduledFunc(Bladex.GetTime()+148.0/20.0, _RozeCab1.Play,(16039, -8388,-11988, 0))    
  61.     Bladex.AddScheduledFunc(Bladex.GetTime()+182.0/20.0, _RozeCab.Play,(16039, -8388,-11988, 0))    
  62.     Bladex.AddScheduledFunc(Bladex.GetTime()+360.0/20.0, _RozeCab1.Play,(16039, -8388,-11988, 0))    
  63.     Bladex.AddScheduledFunc(Bladex.GetTime()+392.0/20.0, _RozeCab.Play,(16039, -8388,-11988, 0))    
  64.     Bladex.AddScheduledFunc(Bladex.GetTime()+418.0/20.0, _RozeCab1.Play,(16039, -8388,-11988, 0))    
  65.     Bladex.AddScheduledFunc(Bladex.GetTime()+552.0/20.0, _RozeCab.Play,(16039, -8388,-11988, 0))    
  66.  
  67.     Bladex.AddScheduledFunc(Bladex.GetTime()+250.0/20.0, _XclamaCab1.Play,(16039, -8388,-11988, 0))    
  68.     
  69.     
  70. ####################################
  71. #              __   _   __         #
  72. #  |\  |    | |  | | | |    _ o    #
  73. #  | | | /\ | |--| |/  |-  (\/O\}  #
  74. #  |/  |/  \| |  | |\  |     / \   #
  75. #                                  #
  76. ####################################
  77.  
  78. LOOP_DWARF = (1606.0/60.0)
  79.  
  80. _Bostezo =Bladex.CreateSound("..\\..\\Sounds\\bostezo-enano.wav","Bostezo")
  81. _Bostezo.MinDistance =   1000
  82. _Bostezo.MaxDistance =  10000
  83. _Bostezo.Volume      =  1.0
  84.  
  85.  
  86. _unabirra =Bladex.CreateSound("..\\..\\Sounds\\interrogancia-enano.wav","unabirra")
  87. _unabirra.MinDistance =   1000
  88. _unabirra.MaxDistance =  10000
  89. _unabirra.Volume      =  1.0
  90.  
  91.  
  92. _Takebirra =Bladex.CreateSound("..\\..\\Sounds\\coger-jarra.wav","Takebirra")
  93. _Takebirra.MinDistance =   1000
  94. _Takebirra.MaxDistance =  10000
  95. _Takebirra.Volume      =  1.0
  96.  
  97.  
  98. _SePoneEnPedo =Bladex.CreateSound("..\\..\\Sounds\\drink2.wav","SePoneEnPedo")
  99. _SePoneEnPedo.MinDistance =   1000
  100. _SePoneEnPedo.MaxDistance =  10000
  101. _SePoneEnPedo.Volume      =  1.0
  102.  
  103. _NyamNyam =Bladex.CreateSound("..\\..\\Sounds\\relame-enano.wav","NyamNyam")
  104. _NyamNyam.MinDistance =   1000
  105. _NyamNyam.MaxDistance =  10000
  106. _NyamNyam.Volume      =  1.0
  107.  
  108.  
  109. _PosaBirra =Bladex.CreateSound("..\\..\\Sounds\\posar-jarra.wav","PosaBirra")
  110. _PosaBirra.MinDistance =   1000
  111. _PosaBirra.MaxDistance =  10000
  112. _PosaBirra.Volume      =  1.0
  113.  
  114. _SeTira =Bladex.CreateSound("..\\..\\Sounds\\caida-pie.wav","SeTira")
  115. _SeTira.MinDistance =   1000
  116. _SeTira.MaxDistance =  10000
  117. _SeTira.Volume      =  0.5
  118.  
  119.  
  120. _HaceFiaca =Bladex.CreateSound("..\\..\\Sounds\\bostezo-enano2.wav","HaceFiaca")
  121. _HaceFiaca.MinDistance =   1000
  122. _HaceFiaca.MaxDistance =  10000
  123. _HaceFiaca.Volume      =  1.0
  124.  
  125.  
  126. def SonidosDelEnano():
  127.     Bladex.AddScheduledFunc(Bladex.GetTime()+LOOP_DWARF, SonidosDelEnano,())
  128.  
  129.     Bladex.AddScheduledFunc(Bladex.GetTime()+228.0/60.0, _Bostezo.Play,(11563, -827,9813, 0))
  130.  
  131.     Bladex.AddScheduledFunc(Bladex.GetTime()+677.0/60.0, _unabirra.Play,(11563, -827,9813, 0))
  132.  
  133.     Bladex.AddScheduledFunc(Bladex.GetTime()+745.0/60.0, _Takebirra.Play,(11563, -827,9813, 0))
  134.  
  135.     Bladex.AddScheduledFunc(Bladex.GetTime()+823.0/60.0, _SePoneEnPedo.Play,(11563, -827,9813, 0))
  136.  
  137.     Bladex.AddScheduledFunc(Bladex.GetTime()+983.0/60.0, _NyamNyam.Play,(11563, -827,9813, 0))
  138.     
  139.     Bladex.AddScheduledFunc(Bladex.GetTime()+1060.0/60.0, _PosaBirra.Play,(11563, -827,9813, 0))
  140.  
  141.     Bladex.AddScheduledFunc(Bladex.GetTime()+1187.0/60.0, _SeTira.Play,(11563, -827,9813, 0))
  142.  
  143.     Bladex.AddScheduledFunc(Bladex.GetTime()+1251.0/60.0, _HaceFiaca.Play,(11563, -827,9813, 0))
  144.  
  145. ###############################################
  146. #  _   _   _   _   _   _     _         o      #
  147. # | \ | | | | | \ | | | | | | | |\|  ()@()    #
  148. # | / |_| |/  | / |_| |/  | |_| | | () @ ()   #
  149. # | \ | | |\  | \ | | |\  | | | | |   / \ +   #
  150. # |_/ | | | | |_/ | | | | | | | | |  () ()|   #
  151. #                                    /\ /\|   #
  152. ###############################################
  153.  
  154. LOOP_BARB = (1789.0/60.0)
  155.  
  156. _CogePedron             = Bladex.CreateSound("..\\..\\Sounds\\barb-coge-piedra2.wav","CogePedron")
  157. _CogePedron.MinDistance =   1000
  158. _CogePedron.MaxDistance =  10000
  159. _CogePedron.Volume      =  1.0
  160.  
  161. _EsfuerzoPedron             = Bladex.CreateSound("..\\..\\Sounds\\esfuerzos_barb_corto_1.wav","EsfuerzoPedron")
  162. _EsfuerzoPedron.MinDistance =   1000
  163. _EsfuerzoPedron.MaxDistance =  10000
  164. _EsfuerzoPedron.Volume      =  1.0
  165.  
  166. _Pedrada             =Bladex.CreateSound("..\\..\\Sounds\\sesgado-corto.wav","Pedrada")
  167. _Pedrada.MinDistance =   1000
  168. _Pedrada.MaxDistance =  10000
  169. _Pedrada.Volume      =  1.0
  170.  
  171. _chofPiedra             =Bladex.CreateSound("..\\..\\Sounds\\m-chopagua1.wav","chofPiedra")
  172. _chofPiedra.MinDistance =   1000
  173. _chofPiedra.MaxDistance =  10000
  174. _chofPiedra.Volume      =  1.0
  175.  
  176. _CojeEspada             = Bladex.CreateSound("..\\..\\Sounds\\m-desenfunda-piedra.wav","CojeEspada")
  177. _CojeEspada.MinDistance =   1000
  178. _CojeEspada.MaxDistance =  10000
  179. _CojeEspada.Volume      =  1.0
  180.  
  181.  
  182. _GritaElCondenado             = Bladex.CreateSound("..\\..\\Sounds\\esfuerzos_barb_corto_2.wav","GritaElCondenado")
  183. _GritaElCondenado.MinDistance =   1000
  184. _GritaElCondenado.MaxDistance =  10000
  185. _GritaElCondenado.Volume      =  1.0
  186.  
  187. _Espadazo             = Bladex.CreateSound("..\\..\\Sounds\\Sesgado2.wav","Espadazo")
  188. _Espadazo.MinDistance =   1000
  189. _Espadazo.MaxDistance =  10000
  190. _Espadazo.Volume      =  1.0
  191.  
  192. _GolpeHierba             = Bladex.CreateSound("..\\..\\Sounds\\Golpe_Hierba.wav","GolpeHierba")
  193. _GolpeHierba.MinDistance =   1000
  194. _GolpeHierba.MaxDistance =  10000
  195. _GolpeHierba.Volume      =  1.0
  196.  
  197. _DejaEspada             = Bladex.CreateSound("..\\..\\Sounds\\hachaa.wav","DejaEspada")
  198. _DejaEspada.MinDistance =   1000
  199. _DejaEspada.MaxDistance =  10000
  200. _DejaEspada.Volume      =  1.0
  201.  
  202. _Cansadito             = Bladex.CreateSound("..\\..\\Sounds\\bostezo-enano2.wav","Cansadito")
  203. _Cansadito.MinDistance =   1000
  204. _Cansadito.MaxDistance =  10000
  205. _Cansadito.Volume      =  1.0
  206.  
  207.  
  208. def SonidosDelBarbaro():
  209.     Bladex.AddScheduledFunc(Bladex.GetTime()+LOOP_BARB, SonidosDelBarbaro,())
  210.  
  211.     Bladex.AddScheduledFunc(Bladex.GetTime()+463.0/60.0, _CogePedron.Play       ,(-99, -616,-3233, 0))
  212.     Bladex.AddScheduledFunc(Bladex.GetTime()+665.0/60.0, _EsfuerzoPedron.Play   ,(-99, -616,-3233, 0))
  213.     Bladex.AddScheduledFunc(Bladex.GetTime()+687.0/60.0, _Pedrada.Play          ,(-99, -616,-3233, 0))
  214.     Bladex.AddScheduledFunc(Bladex.GetTime()+777.0/60.0, _chofPiedra.Play       ,(-99, -616,-3233, 0))
  215.     
  216.     
  217.     Bladex.AddScheduledFunc(Bladex.GetTime()+877.0/60.0, _CojeEspada.Play       ,(-99, -616,-3233, 0))
  218.     Bladex.AddScheduledFunc(Bladex.GetTime()+1162.0/60.0, _GritaElCondenado.Play ,(-99, -616,-3233, 0))
  219.     Bladex.AddScheduledFunc(Bladex.GetTime()+1178.0/60.0, _Espadazo.Play         ,(-99, -616,-3233, 0))
  220.     Bladex.AddScheduledFunc(Bladex.GetTime()+1190.0/60.0, _GolpeHierba.Play      ,(-99, -616,-3233, 0))
  221.     
  222.     Bladex.AddScheduledFunc(Bladex.GetTime()+1307.0/60.0, _DejaEspada.Play       ,(-99, -616,-3233, 0))
  223.  
  224.     Bladex.AddScheduledFunc(Bladex.GetTime()+1615.0/60.0, _Cansadito.Play        ,(-99, -616,-3233, 0))
  225.  
  226.  
  227. #######################################
  228. #                                     #
  229. #                              |  0\  #
  230. #   _        _  __  _          +-((   #
  231. #  |_| |\/| |_|  / | | |\|        ))  #
  232. #  | | |  | | | -- |_| | |        ||  #
  233. #                                     #                                 
  234. #######################################
  235.  
  236.  
  237. LOOP_AMZ = (1273.0/60.0)
  238.  
  239. _LevantatePiba             = Bladex.CreateSound("..\\..\\Sounds\\Mov-amazona-2.wav","LevantatePiba")
  240. _LevantatePiba.MinDistance =   1000
  241. _LevantatePiba.MaxDistance =  10000
  242. _LevantatePiba.Volume      =  1.0
  243.  
  244. _PisaLaPiba1               = Bladex.CreateSound("..\\..\\Sounds\\07-pas51.wav","PisaLaPiba1")
  245. _PisaLaPiba1.MinDistance   =   1000
  246. _PisaLaPiba1.MaxDistance   =  10000
  247. _PisaLaPiba1.Volume        =  1.0
  248.  
  249. _PisaLaPiba2               = Bladex.CreateSound("..\\..\\Sounds\\07-pas52.wav","PisaLaPiba2")
  250. _PisaLaPiba2.MinDistance   =   1000
  251. _PisaLaPiba2.MaxDistance   =  10000
  252. _PisaLaPiba2.Volume        =  1.0
  253.  
  254.  
  255. _Flechazo                  = Bladex.CreateSound("..\\..\\Sounds\\disparo_arco.wav","Flechazo")
  256. _Flechazo.MinDistance      =   1000
  257. _Flechazo.MaxDistance      =  10000
  258. _Flechazo.Volume           =  1.0
  259.  
  260. _Tensado                   = Bladex.CreateSound("..\\..\\Sounds\\m-creakcuerda-44.wav","Tensado")
  261. _Tensado.MinDistance       =   1000
  262. _Tensado.MaxDistance       =  10000
  263. _Tensado.Volume            =  1.0
  264.  
  265. _ApoyoPiba                 = Bladex.CreateSound("..\\..\\Sounds\\Mov-amazona-1.wav","ApoyoPiba")
  266. _ApoyoPiba.MinDistance     =   1000
  267. _ApoyoPiba.MaxDistance     =  10000
  268. _ApoyoPiba.Volume          =  1.0
  269.  
  270. _TakePiba                  = Bladex.CreateSound("..\\..\\Sounds\\coger-arco.wav","TakePiba")
  271. _TakePiba.MinDistance      =   1000
  272. _TakePiba.MaxDistance      =  10000
  273. _TakePiba.Volume           =  1.0
  274.  
  275. _SacafPiba                 = Bladex.CreateSound("..\\..\\Sounds\\desenfundar-flecha1.wav","SacafPiba")
  276. _SacafPiba.MinDistance     =   1000
  277. _SacafPiba.MaxDistance     =  10000
  278. _SacafPiba.Volume          =  1.0
  279.  
  280.  
  281. def SonidosDeLaAmazona():
  282.     Bladex.AddScheduledFunc(Bladex.GetTime()+LOOP_AMZ, SonidosDeLaAmazona,())
  283.  
  284.     Bladex.AddScheduledFunc(Bladex.GetTime()+190.0/60.0, _LevantatePiba.Play      ,(14881,-1082,22235, 0))
  285.  
  286.     Bladex.AddScheduledFunc(Bladex.GetTime()+243.0/60.0, _PisaLaPiba1.Play        ,(14881,-1082,22235, 0))
  287.     Bladex.AddScheduledFunc(Bladex.GetTime()+285.0/60.0, _PisaLaPiba2.Play        ,(14881,-1082,22235, 0))
  288.     Bladex.AddScheduledFunc(Bladex.GetTime()+414.0/60.0, _PisaLaPiba1.Play        ,(14881,-1082,22235, 0))
  289.     Bladex.AddScheduledFunc(Bladex.GetTime()+562.0/60.0, _PisaLaPiba2.Play        ,(14881,-1082,22235, 0))
  290.     Bladex.AddScheduledFunc(Bladex.GetTime()+715.0/60.0, _PisaLaPiba1.Play        ,(14881,-1082,22235, 0))
  291.     Bladex.AddScheduledFunc(Bladex.GetTime()+763.0/60.0, _PisaLaPiba2.Play        ,(14881,-1082,22235, 0))
  292.     Bladex.AddScheduledFunc(Bladex.GetTime()+847.0/60.0, _PisaLaPiba1.Play        ,(14881,-1082,22235, 0))
  293.  
  294.     Bladex.AddScheduledFunc(Bladex.GetTime()+332.0/60.0, _TakePiba.Play           ,(14881,-1082,22235, 0))
  295.     Bladex.AddScheduledFunc(Bladex.GetTime()+565.0/60.0, _SacafPiba.Play          ,(14881,-1082,22235, 0))
  296.     Bladex.AddScheduledFunc(Bladex.GetTime()+605.0/60.0, _Tensado.Play            ,(14881,-1082,22235, 0))
  297.     Bladex.AddScheduledFunc(Bladex.GetTime()+636.0/60.0, _Flechazo.Play           ,(14881,-1082,22235, 0))
  298.     Bladex.AddScheduledFunc(Bladex.GetTime()+765.0/60.0, _TakePiba.Play           ,(14881,-1082,22235, 0))
  299.  
  300.  
  301. #########################################
  302. #     ___                               #
  303. #    | __|   |\                         #
  304. #    |   |   |\   Music                 #
  305. #   0    |   |    Superfragilistic      #
  306. #       0   0                           #
  307. #                                       #
  308. #########################################
  309.  
  310. VOLUMEN_MUSICA = 1
  311.  
  312. Bladex.AddMusicEventMP3( "suspenselento",  "..\\..\\Sounds\\seleccion-personaje.MP3", 2.0, 1.0, VOLUMEN_MUSICA, 10000, 1, -1 )
  313. Bladex.AddScheduledFunc(Bladex.GetTime(),Bladex.ExeMusicEvent,(Bladex.GetMusicEvent("suspenselento"),))